package cn.yj;

import cn.yj.netty.annotation.EnableNettyServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author 永健
 * @since 2022-01-17 16:45
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableNettyServer(port = "8090")
public class App{
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
        // new NettyServer().start(new InetSocketAddress(9000));
    }
}
